home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
MiscKit1.7.1
/
MiscKitArchive.mbox
/
mbox
/
000238_misckit-reques…aska.et.byu.edu_Mon Jul 4 02:23:51 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-10-30
|
3KB
Return-Path: <misckit-request@alaska.et.byu.edu>
Received: from alaska.et.byu.edu by darth.byu.edu (NX5.67d/NX3.0M)
id AA00633; Mon, 4 Jul 94 02:22:25 -0600
Received: from yvax1.byu.edu by alaska.et.byu.edu; Mon, 4 Jul 1994 02:22:49 -0600
Received: from DIRECTORY-DAEMON by yvax.byu.edu (PMDF V4.3-7 #7277)
id <01HEAIZMBG8G0Q80KC@yvax.byu.edu>; Mon, 4 Jul 1994 02:22:33 MDT
Received: from alaska.et.byu.edu by yvax.byu.edu (PMDF V4.3-7 #7277)
id <01HEAIZIQV4WHTTIKT@yvax.byu.edu>; Mon, 4 Jul 1994 02:22:28 MDT
Received: from darth.byu.edu by alaska.et.byu.edu; Mon,
4 Jul 1994 02:22:07 -0600
Received: by darth.byu.edu (NX5.67d/NX3.0M) id AA00626; Mon,
4 Jul 94 02:21:24 -0600
Received: by NeXT.Mailer (1.100.RR)
Received: by NeXT Mailer (1.100.RR)
Date: Mon, 04 Jul 1994 02:21:24 -0600
From: Don Yacktman <don@darth.byu.edu>
Subject: Re: Foundation and Misc
To: misckit@alaska.et.byu.edu
Reply-To: don@darth.byu.edu
Message-Id: <9407040821.AA00626@darth.byu.edu>
Content-Transfer-Encoding: 7BIT
I'm with Andy and Bruce here on this; we need to make
a _new_ class, and leave the old one in place. The old
"dummy" class could always unarchive the string and then
create and return one of the "new" strings, freeing itself,
though. Of course, you'd want a class var to trigger this
behavior, since not everyone would want that I bet. The only
thing that bothers me about subclassing NSString is that it
is a class cluster, and so subclassing it requires a lot of
hooey. It's probably worth it to do so, though. I still
have to evaluate things a bit more before I decide exactly
how this would be accomplished, however. (I've been away
from the computer a lot this past week and haven't looked it
all over to my satisfaction yet.) Regardless, the points
brought up are very well made. The MiscString, while
powerful, lacks key features and has a terribly inconsistent
interface. I think it can be simplified considerably while
retaining the power. Of course, the FoundationKit and
OpenStep will affect many other classes as well: MiscColor*,
MiscQueue, MiscStack, MiscTime, etc. This will all need to be
addressed as well...
Also, the "new" MiscString class ought to have a class method
of some sort that can "morph" NSStrings and the old
MiscString into the newer class. That would help smooth over
transitions. Finally, the compiler support for the @"..."
definition of strings is for NSStrings. It would be nice to
redifine that to use a class of our choice...
And most finally, there is the probolem that a lot of folks
don't have the EOF Beta, hence are without the FoundationKit.
Until 4.0, these people will still require the older Misc
classes. Even when 4.0 comes out there will be a need since
not everyone will upgrade right away. There are still _tons_
of MiscKit users who have 3.0 and 3.1. (You would not
believe the volume of help requests I get on installing under
the older NS versions. Ick!)
Well, more on this as ideas develop...
---
Later,
-Don Yacktman
Don_Yacktman@byu.edu